import request from '@/utils/request'

export function getAll(params) {
  return request({
    url: '/api/datav/index',
    method: 'get',
    params
  })
}

export function getStates(params) {
  return request({
    url: '/api/datav/states',
    method: 'get',
    params
  })
}
